package com.tuda.system.model.param;

import com.tuda.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;
import java.math.BigDecimal;

/**
 * @ClassName AddOrderparam
 * @Description 建单请求参数
 * @Author Admin
 * @Date 2023/7/14 12:24
 * @Version 1.0
 **/
@ApiModel("建单请求参数")
public class AddOrderParam {

    @ApiModelProperty(name = "userId", value = "用户Id")
    private String userId;

    @ApiModelProperty(name = "vehicleInspector", value = "提验人")
    private String vehicleInspector;

    @ApiModelProperty(name = "userName", value = "业务员名称")
    @NotBlank(message = "请选择业务员")
    private String userName;

    @ApiModelProperty(name = "salesmanPhone", value = "业务员电话")
    private String salesmanPhone;

    @ApiModelProperty(name = "vehicleModel", value = "车型")
    @NotBlank(message = "请填写车型")
    private String vehicleModel;
    @ApiModelProperty(name = "vin", value = "车架号")
    private String vin;

    @ApiModelProperty(name = "client", value = "委托人")
    private String client;

    @ApiModelProperty(name = "clientPhone", value = "委托人电话")
    private String clientPhone;

    @ApiModelProperty(name = "origin", value = "起始地")
    @NotBlank(message = "请选择起始地")
    private String origin;

    @ApiModelProperty(name = "dest", value = "目的地")
    @NotBlank(message = "请选择目的地")
    private String dest;

    @ApiModelProperty(name = "receiver", value = "接车人")
    private String receiver;

    @ApiModelProperty(name = "receiverPhone", value = "接车人电话")
    private String receiverPhone;

    @ApiModelProperty(name = "payType", value = "1 到付，2 现付，3 分期 ")
    private Integer payType = 1;
    @ApiModelProperty(name = "freightAmount", value = "运费金额")
    private BigDecimal freightAmount;
    @ApiModelProperty(name = "paidAmount", value = "已付金额")
    private BigDecimal paidAmount = new BigDecimal(0.00);
    @ApiModelProperty(name = "notes", value = "备注")
    private String notes;

    @ApiModelProperty(name = "inspectionFee", value = "提验费")
    private BigDecimal inspectionFee = new BigDecimal(0.00);

    @ApiModelProperty(name = "drivingFee", value = "代驾费")
    private BigDecimal drivingFee = new BigDecimal(0.00);

    @ApiModelProperty(name = "refuelingFee", value = "加油费")
    private BigDecimal refuelingFee = new BigDecimal(0.00);

    @ApiModelProperty(name = "smallBoardFee", value = "小板费")
    private BigDecimal smallBoardFee = new BigDecimal(0.00);

    @ApiModelProperty(name = "forkliftFee", value = "叉车费")
    private BigDecimal forkliftFee = new BigDecimal(0.00);

    @ApiModelProperty(name = "agencyFee", value = "中介费")
    private BigDecimal agencyFee = new BigDecimal(0.00);

    @ApiModelProperty(name = "carImgs", value = "汽车图片")
    @NotBlank(message = "请上传汽车图片")
    private String carImgs;

    @ApiModelProperty(name = "contractImgs", value = "合同图片")
    private String contractImgs;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getVehicleModel() {
        return vehicleModel;
    }

    public void setVehicleModel(String vehicleModel) {
        this.vehicleModel = vehicleModel;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public String getClient() {
        return client;
    }

    public void setClient(String client) {
        this.client = client;
    }

    public String getClientPhone() {
        return clientPhone;
    }

    public void setClientPhone(String clientPhone) {
        this.clientPhone = clientPhone;
    }

    public String getOrigin() {
        return origin;
    }

    public void setOrigin(String origin) {
        this.origin = origin;
    }

    public String getDest() {
        return dest;
    }

    public void setDest(String dest) {
        this.dest = dest;
    }

    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver;
    }

    public String getReceiverPhone() {
        return receiverPhone;
    }

    public void setReceiverPhone(String receiverPhone) {
        this.receiverPhone = receiverPhone;
    }

    public BigDecimal getFreightAmount() {
        return freightAmount;
    }

    public void setFreightAmount(BigDecimal freightAmount) {
        this.freightAmount = freightAmount;
    }

    public BigDecimal getPaidAmount() {
        return paidAmount;
    }

    public void setPaidAmount(BigDecimal paidAmount) {
        this.paidAmount = paidAmount;
    }

    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

    public String getCarImgs() {
        return carImgs;
    }

    public void setCarImgs(String carImgs) {
        this.carImgs = carImgs;
    }

    public String getContractImgs() {
        return contractImgs;
    }

    public void setContractImgs(String contractImgs) {
        this.contractImgs = contractImgs;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public String getVehicleInspector() {
        return vehicleInspector;
    }

    public void setVehicleInspector(String vehicleInspector) {
        this.vehicleInspector = vehicleInspector;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getSalesmanPhone() {
        return salesmanPhone;
    }

    public void setSalesmanPhone(String salesmanPhone) {
        this.salesmanPhone = salesmanPhone;
    }

    public BigDecimal getInspectionFee() {
        return inspectionFee;
    }

    public void setInspectionFee(BigDecimal inspectionFee) {
        this.inspectionFee = inspectionFee;
    }

    public BigDecimal getDrivingFee() {
        return drivingFee;
    }

    public void setDrivingFee(BigDecimal drivingFee) {
        this.drivingFee = drivingFee;
    }

    public BigDecimal getRefuelingFee() {
        return refuelingFee;
    }

    public void setRefuelingFee(BigDecimal refuelingFee) {
        this.refuelingFee = refuelingFee;
    }

    public BigDecimal getSmallBoardFee() {
        return smallBoardFee;
    }

    public void setSmallBoardFee(BigDecimal smallBoardFee) {
        this.smallBoardFee = smallBoardFee;
    }

    public BigDecimal getForkliftFee() {
        return forkliftFee;
    }

    public void setForkliftFee(BigDecimal forkliftFee) {
        this.forkliftFee = forkliftFee;
    }

    public BigDecimal getAgencyFee() {
        return agencyFee;
    }

    public void setAgencyFee(BigDecimal agencyFee) {
        this.agencyFee = agencyFee;
    }
}
